package com.niiwoo.civet.account.service.dubbo;

import com.alibaba.dubbo.config.annotation.Service;
import com.niiwoo.civet.account.service.AccountWithdrawDubboService;
import com.niiwoo.civet.account.service.local.AccountWithdrawLocalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;

@Service(version = "1.0.0")
public class AccountWithdrawDubboServiceImpl implements AccountWithdrawDubboService {

    @Autowired
    private AccountWithdrawLocalService accountWithdrawLocalService;

    @Override
    public Byte selectWithdrawOrderStatusById(Long withdrawOrderId){
        Assert.notNull(withdrawOrderId,"withdrawOrderId is null");
        return accountWithdrawLocalService.selectWithdrawOrderStatusById(withdrawOrderId);
    }
}
